package com.csnf.service.impl;

import com.csnf.entity.MerchantAccount;
import com.csnf.mapper.AdminMapper;
import com.csnf.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public ArrayList<MerchantAccount> selectAllExamineMerchant() {
        return adminMapper.selectAllExamineMerchant();
    }

    @Override
    public ArrayList<MerchantAccount> selectAllByStatus() {
        return adminMapper.selectAllByStatus();
    }
}
